import java.util.Arrays;


/*public class Test {
    public int[] twoSum(int[] nums, int target) {
        int[] ret = new int[]{-1, -1};
        for (int left = 0; left < nums.length - 1; left++) {
            for (int right = left + 1; right < nums.length; right++) {
                if (nums[left] + nums[right] == target) {
                    ret[0] = left;
                    ret[1] = right;
                    return ret;
                }
            }
        }
        return null;
    }*/

  /*  public static int func2(int[] array) {
        int sum = array[0];
        for (int i = 1; i < array.length; i++) {
            sum ^= array[i];
        }
        return sum;
    }*/

    /*public static void main(String[] args) {
        int[] array = {1, 9, 5, 9, 1, 9, 9, 9, 9, 9};
        //Arrays.sort(array);
        //System.out.println(array[array.length/2]);
        System.out.println();
        //System.out.println(func2(array));
    }
}*/
    /*public static boolean func3(int[] array) {
        int count = 0;
        for (int i = 0; i < array.length; i++) {
            if(array[i] % 2 != 0) {
                count++;
                if(count == 3) {
                    return true;
                }
            }else {
                count = 0;// ??? 要的是连续的3个数字
            }
        }
        return false;
    }*/



   /* public static void func(int[] array) {
        int left = 0;
        int right = array.length-1;
        while (left < right) {
            while(left < right && array[left] % 2 != 0) {
                left++;
            }
            while(left < right &&  array[right] % 2 == 0) {
                right--;
            }
            if(left < right) {
                //left下标就是偶数  right下标就是奇数
                int tmp = array[left];
                array[left] = array[right];
                array[right] = tmp;
                left++;
                right--;
            }
        }
    }*/
   /* public static void main1(String[] args) {
        int[] array = {1,3,5,7,9,11};
        func(array);
        System.out.println(Arrays.toString(array));
    }
}/**/